//
//  ShellLanguageManager.h
//  ShellWallert
//
//  Created by lvzhao on 2019/5/14.
//  Copyright © 2019 吕VV. All rights reserved.
//

#import <Foundation/Foundation.h>
#define kShellLanguageManager [ShellLanguageManager shareInstance]

NS_ASSUME_NONNULL_BEGIN

@interface ShellLanguageManager : NSObject

+ (instancetype)shareInstance;
//初始化语言
- (void)initUserLanguage;

- (NSString *)language; //当前语言

- (void)setUserlanguage:(NSString *)language;//设置当前语言

- (NSString *)languageFormat:(NSString*)language;//语言和语言对应的.lproj的文件夹前缀不一致时在这里做处理

- (NSString *)localizedStringForKey:(NSString *)key;    //获取语言对应的key

@end

NS_ASSUME_NONNULL_END
